package com.ruoyi.project.poem.poemuser.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 诗词用户对象 user
 * 
 * @author shixiangwen
 * @date 2022-10-11
 */
public class PoemUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** null */
    @Excel(name = "null")
    private String userId;

    /** null */
    @Excel(name = "null")
    private String nickname;

    /** null */
    @Excel(name = "null")
    private Integer type;

    /** null */
    @Excel(name = "null")
    private String portrait;

    /** null */
    @Excel(name = "null")
    private String thirdType;

    /** null */
    @Excel(name = "null")
    private String thirdUserId;

    /** null */
    @Excel(name = "null")
    private Integer locked;

    /** null */
    @Excel(name = "null", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** null */
    @Excel(name = "null")
    private Integer gender;

    /** null */
    @Excel(name = "null")
    private Integer groupAuth;

    /** null */
    @Excel(name = "null")
    private Integer approveAuth;

    /** null */
    @Excel(name = "null")
    private Integer goodsAuth;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setPortrait(String portrait) 
    {
        this.portrait = portrait;
    }

    public String getPortrait() 
    {
        return portrait;
    }
    public void setThirdType(String thirdType) 
    {
        this.thirdType = thirdType;
    }

    public String getThirdType() 
    {
        return thirdType;
    }
    public void setThirdUserId(String thirdUserId) 
    {
        this.thirdUserId = thirdUserId;
    }

    public String getThirdUserId() 
    {
        return thirdUserId;
    }
    public void setLocked(Integer locked) 
    {
        this.locked = locked;
    }

    public Integer getLocked() 
    {
        return locked;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setGender(Integer gender) 
    {
        this.gender = gender;
    }

    public Integer getGender() 
    {
        return gender;
    }
    public void setGroupAuth(Integer groupAuth) 
    {
        this.groupAuth = groupAuth;
    }

    public Integer getGroupAuth() 
    {
        return groupAuth;
    }
    public void setApproveAuth(Integer approveAuth) 
    {
        this.approveAuth = approveAuth;
    }

    public Integer getApproveAuth() 
    {
        return approveAuth;
    }
    public void setGoodsAuth(Integer goodsAuth) 
    {
        this.goodsAuth = goodsAuth;
    }

    public Integer getGoodsAuth() 
    {
        return goodsAuth;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("nickname", getNickname())
            .append("type", getType())
            .append("portrait", getPortrait())
            .append("thirdType", getThirdType())
            .append("thirdUserId", getThirdUserId())
            .append("locked", getLocked())
            .append("createdTime", getCreatedTime())
            .append("gender", getGender())
            .append("groupAuth", getGroupAuth())
            .append("approveAuth", getApproveAuth())
            .append("goodsAuth", getGoodsAuth())
            .toString();
    }
}
